<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="app" uri="/application" %>
<%@ taglib  prefix="s"  uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
<link href="/css/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="all_main">
  <div class="head_main">
    <div class="main_nav">应用管理-&gt;应用列表</div>
    <div class="main_soso">
    <form action="/app/search_app.shtml" method="post">

    	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		  <tr>
		    <td width="19" height="30" align="center"><img src="../images/clean_011.gif" width="16" height="16" /></td>
		    <td>
		       	应用名称：
		      <input name="ap.appName" type="text" value="${ap.appName}" style="width:80px;"  class="inputwidth01" maxlength="30" />&nbsp;&nbsp;
		       	应用平台:
		       	<select name="ap.appPlat" class="inputwidth01" maxlength="80">
		      	<option value="">请选择</option>
              	<app:cons_select code="001" value="${ap.appPlat}"></app:cons_select>
		       	</select>&nbsp;&nbsp;
		                          状态：
				<select name="ap.status">
				<option value="">请选择</option>
				<app:cons_select type="appInfo" value="${ap.status}"></app:cons_select>
				</select>　
		                         应用类型：  
              	<select name="ap.appCate">
              	<option value="">请选择</option>
              	<app:cons_select code="004" value="${ap.appCate}"></app:cons_select>
              	</select>   
		       开始时间:
		      <input name="beginDate" value="<fmt:formatDate value="${beginDate}" pattern="yyyy-MM-dd"/>" type="text" class="date_type" id="textfield" readonly="readonly"  onclick="new Calendar().show(this);"/>
		       结束时间: 
		      <input name="endDate" value="<fmt:formatDate value="${endDate}" pattern="yyyy-MM-dd"/>" type="text" class="date_type" id="textfield" readonly="readonly"  onclick="new Calendar().show(this);"/>
		      </td>
		    <td align="left">
		      <input name="input7" type="submit" class="input01" value="搜索" /></td>
		  </tr>
		</table>
    </form>
    </div>
    <div class="main_title">
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
          <th width="8%">appId</th>
          <th width="10%">应用名称</th>
          <th width="15%">开发者</th>
          <th width="10%">平台</th>
          <th width="10%">分类</th>
          <th width="10%">创建日期</th>
          <th width="10%">状态</th>
          <th>操作</th>
        </tr>
      </table>
    </div>
  </div>
  <div class="content_main">
    <table border="0" cellpadding="0" cellspacing="0" width="100%" id="background_hegh01">
       <tbody class="split">
      <c:forEach items="${page_list.list}" var="o">
	      <tr>
	         <td width="8%">${o.appId}</td>
	         <td width="10%">${o.appName} </td>
	         <td width="15%">${o.userName}</td>
	         <td width="10%"><app:code_name code="${o.appPlat}"></app:code_name></td>
	         <td width="10%"><app:code_name code="${o.appCate}"/></td>
	         <td width="10%"><fmt:formatDate value="${o.createDate}" pattern="yyyy-MM-dd"/></td>
	         <td width="10%"><app:basestus status="${o.status}" type="appstatus"></app:basestus></td>
	         <td><a href="to_manage_app.shtml?ap.appId=${o.appId}">应用管理</a></td>
	      </tr>
      </c:forEach>
	    </tbody>
    </table>
  </div>
  
  <app:page></app:page>
</div>
</body>
</html>
<script  src="/scripts/util.js" type="text/javascript"></script>
<script type="text/javascript" src="/scripts/calendar.js"></script>
<script type="text/javascript" src="/scripts/common.js"></script>
